package com.define.ssh.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.hibernate.annotations.GenericGenerator;

/**
 * Terminalparam entity.
 * 
 * @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "terminalparam")
public class Terminalparam implements java.io.Serializable {

	// Fields

	private Integer id;
	private String terminaltype;//'终端类型 1.接入模块 2.核心模块 3.接入模块',
	private Integer netid;     //'网元ID',
	private String netName;  //'网元名称
	private Integer paramid; //'参数ID',
	private String paramvalue; //'参数值',
	private Integer updateType; //更新类型 1.新增 2.修改 3.删除'
	private Date updateTime;    //更新时间
	
	private Integer terminalparamTypeId; 
	private String  terminalparamTypeParamname;

	// Constructors

	/** default constructor */
	public Terminalparam() {
	}



	// Property accessors
	@GeneratedValue(generator = "generator")
	@Id
	@GenericGenerator(name = "generator", strategy = "identity")
	@Column(name = "id", unique = true, nullable = false, precision = 20, scale = 0)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "terminaltype", unique = false, nullable = false, insertable = true, updatable = true, length = 1)
	public String getTerminaltype() {
		return this.terminaltype;
	}

	public void setTerminaltype(String terminaltype) {
		this.terminaltype = terminaltype;
	}

	@Column(name = "netid", unique = false, nullable = false, insertable = true, updatable = true)
	public Integer getNetid() {
		return this.netid;
	}

	public void setNetid(Integer netid) {
		this.netid = netid;
	}

	@Column(name = "paramid", unique = false, nullable = false, insertable = true, updatable = true)
	public Integer getParamid() {
		return this.paramid;
	}

	public void setParamid(Integer paramid) {
		this.paramid = paramid;
	}

	@Column(name = "paramvalue", unique = false, nullable = false, insertable = true, updatable = true, length = 50)
	public String getParamvalue() {
		return this.paramvalue;
	}

	public void setParamvalue(String paramvalue) {
		this.paramvalue = paramvalue;
	}

	@Column(name = "update_type", unique = false, nullable = false, insertable = true, updatable = true)
	public Integer getUpdateType() {
		return this.updateType;
	}

	public void setUpdateType(Integer updateType) {
		this.updateType = updateType;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "update_time", unique = false, nullable = false, insertable = true, updatable = true, length = 19)
	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}


	@Column(name = "netName")
	public String getNetName() {
		return netName;
	}



	public void setNetName(String netName) {
		this.netName = netName;
	}


	@Column(name = "terminalparamTypeId")
	public Integer getTerminalparamTypeId() {
		return terminalparamTypeId;
	}



	public void setTerminalparamTypeId(Integer terminalparamTypeId) {
		this.terminalparamTypeId = terminalparamTypeId;
	}


	@Column(name = "terminalparamTypeParamname")
	public String getTerminalparamTypeParamname() {
		return terminalparamTypeParamname;
	}



	public void setTerminalparamTypeParamname(String terminalparamTypeParamname) {
		this.terminalparamTypeParamname = terminalparamTypeParamname;
	}
	
	

}